package com.ocm.resource.entity;


import lombok.Data;

import java.io.Serializable;
import java.sql.Timestamp;

/**
 * @program: local-live-admin
 * @description
 * @author: hqy
 * @create: 2021-04-13 12:18
 **/
@Data
public class MinioContent implements Serializable {


    private Long id;


    private String key;


    private String bucket;


    private String size;


    private String url;

    private String suffix;

    private String type = "公开";

    private Timestamp updateTime;

    public MinioContent(Long id, String key, String bucket, String size, String url, String suffix, String type, Timestamp updateTime) {
        this.id = id;
        this.key = key;
        this.bucket = bucket;
        this.size = size;
        this.url = url;
        this.suffix = suffix;
        this.type = type;
        this.updateTime = updateTime;
    }

    public MinioContent() {
    }
}
